﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Security.Principal;
using System.Text;
using System.Threading.Tasks;

namespace Hotel.Model.House
{
    [Table("T_House_Type")]
    public class T_House_Type
    {
        ///房型id        
        [Key]
        public int HY_Id { get; set; }
        /// <summary>
        /// 房型名称
        /// </summary>
        public string HY_Name { get; set; }

        /// <summary>
        /// 房型的价格
        /// </summary>
        public decimal HY_Price { get; set; }

        /// <summary>
        /// 房型图片
        /// </summary>
        public string HY_Photo { get; set; }
        /// <summary>
        /// 是否有窗
        /// </summary>
        public bool HY_Window { get; set; }
        /// <summary>
        /// 最多入住人数
        /// </summary>
        public int HY_Number { get; set; }
        /// <summary>
        /// 房型面积
        /// </summary>
        public int HY_Area { get; set; }
        /// <summary>
        /// 简介
        /// </summary>
        public string HY_Desc { get; set; }
        /// <summary>
        /// 是否启用
        /// </summary>
        public int  HY_State { get; set; }
        /// <summary>
        /// 增加时间
        /// </summary>
        public DateTime HY_CreateTime { get; set; } = DateTime.Now;
        /// <summary>
        /// 修改时间
        /// </summary>
        public DateTime HY_UpdateTime { get; set; } = DateTime.Now;

        public bool IsDelete { get; set; } = false;

    }
}
